#ifndef __IO_IFILESTREAM__H__
#define __IO_IFILESTREAM__H__
#include <stdio.h>
class IFileStream
{
public:
	IFileStream(void)
	{
	}
	virtual ~IFileStream(void)
	{
	}

	virtual size_t	_fread(void * _DstBuf,size_t _ElementSize, size_t _Count) = 0;
	virtual size_t	_fwrite(const void * _Str,size_t _Size, size_t _Count) = 0;
	virtual bool	_fopen(const char * _Filename, bool bRead) = 0;
	virtual bool	_fopen(const char * _FileData , int nSize,bool bRead) = 0;
	virtual int		_fclose() = 0;
};

class IEncrypt
{
public:
	virtual bool Encrypt( char * pData,unsigned int nSize ) = 0;
	virtual bool DeEncrypt( char * pData,unsigned int nSize ) = 0;
	virtual ~IEncrypt(){};
	IEncrypt(){};
};

#endif //__IO_IFILESTREAM__H__